REST PutClient Node
The REST PutClient Node
gets a trigger to the Input Port
, requests REST API Server
, sends update to the REST API Server
, receives and transmits respond to the Output Ports
.
The REST PutClient Node
gets an event of any data type to the trigger
Input Port
to send a request.
The Node has the following General
and Input
Configuration Parameters
:
uri
(obligatory). Insert thedefault uri
of theREST API Server
in theGeneral
configuration Parameters. If theREST PutClient Node
getsoptional uri
to theInput Ports
thedefault uri
is ignored.header
(optional). Empty by default. Gets configurations as aJSON object
. Is used to configureauthorization
,cookie
,session
etc. If theREST PutClient Node
getsoptional header
to theInput Ports
the configuration parameters from thedefault header
andoptional header
are joined.data
(optional). Empty by default. Gets params as aJSON object
. Is used to send update to theREST API Server
. If theREST PutClient Node
getsoptional data
to theInput Ports
the configuration parameters from thedefault data
andoptional data
are joined.code
(optional). Missing by default. The additional parameters can be transmitted to theInput Ports
by clicking+
button and adding data of any type.
The Node has the following Output Ports
:
body
. The Port gets and transmits the respond of theREST API Server
. The data type of theOutput Port
can bestring
orobject
depending on theheaders["Content-Type"]
in the respond of theREST API Server
.header
(optional). The Port gets and transmits theheader
as aJSON object
. The Port gets and transmits the header of the respond of theREST API Server
.status
(optional). The Port gets and transmits thestatus
code of theREST API Server
respond as aninteger
number, ex.200, 201, 400, 500
has_error
. The Port gets and transmits theboolean
valueTrue
if there is an error while requesting theREST API Server
, orFalse
if theREST API Server
gets request without an error.